package com.lzy.webapi.component;

import java.io.Serializable;
import java.util.Date;

/**
 * Description:app端用户的token信息 Create by lc Date:Apr 10, 2017 Time:11:49:16 AM
 */
public class UserToken implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 用户唯一标识
     */
    private String token;
    /**
     * 用户的ID
     */
    private Long userId;
    /**
     * 登录名
     */
    private String LoginName;
    /**
     * 登录名
     */
    private String userName;
    /**
     * 部门编号
     */
    private Long deptId;

    private Date createTime;

    private String isClose; // 0 未失效， 1 已失效

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return LoginName;
    }

    public void setLoginName(String loginName) {
        LoginName = loginName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsClose() {
        return isClose;
    }

    public void setIsClose(String isClose) {
        this.isClose = isClose;
    }
}
